<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="Domain.Entity" assembly="Domain">
	<class name="Domain.Entity.CustomerDemographic, Domain" table="[dbo].[CustomerDemographics]" lazy="true">
		<id name="Id" column="[CustomerTypeID]">
		 	<generator class="assigned" />
		</id>
		<property name="CustomerDesc" column="[CustomerDesc]" />
		<bag name="Customers" table="[dbo].[CustomerCustomerDemo]" lazy="true" cascade="all" inverse="false" >
			<key column="[CustomerTypeID]"></key>
			<many-to-many column="[CustomerID]" class="Domain.Entity.Customer" />
    	</bag>
	</class>
</hibernate-mapping>

